<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>对象封装</title>
	</head>
	<body>
		<span onmousemove="liLei.intrSelf()">李雷</span>&nbsp;<span onmousemove="hanMeiMei.intrSelf()">韩梅梅</span>
		<div id="ste">123</div>
		
		<script type="text/javascript">
			var liLei={
				name:"lilei",
				age:"13",
				intrSelf:introduce
			}
			var hanMeiMei={
				name:"hanMeiMei",
				age:"14",
				intrSelf:introduce
			}
			function introduce(){
				ste.innerHTML="I am "+this.name+", I am "+this.age;
			}
		</script>
	</body>
</html>
